package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 热搜对象 a_hot
 * 
 * @author ruoyi
 * @date 2024-12-10
 */
public class AHot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 热搜id */
    private Long id;

    /** 内容 */
    @Excel(name = "内容")
    private String name;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creat;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCreat(Date creat) 
    {
        this.creat = creat;
    }

    public Date getCreat() 
    {
        return creat;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("creat", getCreat())
            .append("del", getDel())
            .toString();
    }
}
